const moduleUrl = "/gameRoom";
function createRoom() {
    return sendGetRequest(moduleUrl + '/createRoom', null, false);
}

function getRoomDetail(roomCode) {
    if (!roomCode) {
        roomCode = '1234';
    }
    return sendGetRequest(moduleUrl + '/roomDetail/' + roomCode, null, false);
}